package com.fly.estore.service;

import com.fly.estore.domain.StockDetail;
import com.fly.estore.domain.StockInfo;

import java.util.List;

/**
 * Created by Fly on 2016/4/26.
 */
public interface StockService {

    public int saveStockInfo(StockInfo stockInfo);

    public int deleteStockById(String stockId);

    public StockInfo getStockById(String stockId);

    public List<StockInfo> getStockList();

    public StockDetail getDetailById(String stockDetailId);

    public int saveStockDetail(StockDetail stockDetail);

    public List<StockDetail> getStockDetailList();

    public int deleteStockDetail(String stockDetailId);

}
